//
//  ReleaseViewCell.m
//  TableBarControllerDemo
//
//  Created by 边果互动 on 2021/3/16.
//

#import "ReleaseViewCell.h"

@implementation ReleaseViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (IBAction)onClick:(id)sender {
    if (self.go2ReleaseBlock) {
        if (sender == self.purchaseBtn) {
            self.go2ReleaseBlock(0);
        } else if (sender == self.goodsBtn) {
            self.go2ReleaseBlock(1);
        }
    }
}

@end
